{% extends "admin/base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% block body %}

    <script src="{{ url_for('static',filename='bootstrap-datepicker/js/bootstrap-datepicker.min.js') }}"></script>
    <script src="{{ url_for('static',filename='bootstrap-datepicker/js/bootstrap-datepicker.zh-CN.min.js') }}"></script>
    <link href="{{ url_for('static',filename='bootstrap-datepicker/css/bootstrap-datepicker.min.css') }}" rel="stylesheet" type="text/css"></link>
    <div class="container">
        <div class="row">
            <div class="col-md-9 col-sm-9 col-xs-9">
                <h2>创建活动</h2>
            </div>
            <div class="col-md-3 col-sm-3 col-xs-3">
                <h2 style="float:right">
                    <button class="btn btn-default" onclick="javascript:history.back(-1);">返回</button>
                </h2>
            </div>
        </div>
        <hr>
        {{ wtf.quick_form(form) }}
    </div>

<script type="text/javascript">
$("input[name=start_date]").datepicker({
	language: "zh-CN",
	format: "yyyy-mm-dd",
	autoclose: true
});
</script>
{% endblock %}